@import "./mixin.scss";
html,
body {
  height: 100%;
}
a {
  color: $main-color;
}
body {
  background-color: #f5f5f5;
  font-size: $font-base-size;
  font-family: Microsoft Yahei, Avenir, Helvetica, Arial, sans-serif;
}
page {
  height: 100%;
}
button[type="primary"]:visited,
button[type="primary"] {
  background-color: $main-color;
}
button[type="primary"]:active,
button[type="primary"]:hover,
button[type="primary"]:focus {
  background-color: lighten($color: $main-color, $amount: 10);
}
.uni-easyinput__placeholder-class {
  font-weight: normal !important;
  font-size: 28rpx !important;
}
.uni-navbar__header,
.uni-navbar__header-container {
  padding: 0 !important;
}
.container {
  height: 100%;
  box-sizing: border-box;
  &.white-bg {
    background-color: #fff;
  }
  &.has-bottom-btn {
    padding-bottom: 132rpx;
  }
  &.has-top-search {
    padding-top: 140rpx;
  }
  .search {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
  }
  .btn-wrap {
    position: fixed;
    padding-bottom: 20rpx;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    box-shadow: 0px -6px 6px 0px rgba(43, 66, 60, 0.04);
    z-index: 1;
  }
  .popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 128rpx;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 2;
    .i-btn {
      width: 160rpx;
    }
    .i-btn-warn {
      margin-right: 20rpx;
    }
    .btn-wrap {
      box-shadow: none;
    }
  }
}
.scroll-wrap {
  height: 100%;
  overflow-y: auto;
  .block:first-child {
    margin-top: $beside-gap;
  }
}
.btn-wrap {
  padding: 20rpx $beside-gap;
  display: flex;
  &.static {
    position: static;
    margin: $beside-gap 0;
  }
  .i-btn {
    flex: 1;
    &:first-child {
      margin-right: 10rpx;
    }
    &:last-child {
      margin-left: 10rpx;
    }
  }
}
.cell-title {
  font-size: $font-big-size;
  padding: 0 $beside-gap;
  margin-bottom: 30rpx;
  font-weight: bold;
  &:first-child {
    margin-top: 30rpx;
  }
  .choose-text {
    float: right;
    font-weight: normal;
  }
}
.block {
  margin: 0 $beside-gap $beside-gap;
  box-shadow: 0 0 18rpx 0 rgba(66, 119, 217, 0.12);
  overflow: hidden;
  background-color: #fff;
  border-radius: 6rpx;
  &.no-gap {
    margin-bottom: 0;
  }
  &.no-shadow {
    box-shadow: none;
  }
}
.normal-img {
  width: 100px;
  height: 100px;
  display: block;
}
.code-adv-img {
  width: 100%;
  height: 150rpx;
  display: block;
}
.padding-form {
  padding: 0 28rpx;
}
.form-wrap {
  background-color: #fff;
  margin: 0 $beside-gap $beside-gap $beside-gap;
  ::deep.uni-easyinput__content.is-disabled {
    background-color: #fff !important;
    color: #333;
  }
  ::deep.uni-input-input {
    font-size: 32rpx;
    color: #333;
  }
}
.pd-gap {
  padding: $beside-gap;
}
.choose-text {
  color: $main-color;
  font-size: 30rpx;
}
.booth-wrap {
  background-color: #fff;
}
.booth-list {
  position: relative;
  padding: 20rpx 60rpx 20rpx 20rpx;
  margin-bottom: 14rpx;
  @include line-1px(bottom, #e4e4e4);
  &:last-child {
    margin-bottom: 0;
    @include clear-line;
  }
  .booth-title {
    font-size: 30rpx;
    margin-bottom: 10rpx;
  }
  .note {
    text {
      color: #999;
      padding-right: 10rpx;
    }
  }
  .view-code-btn {
    position: absolute;
    right: 20rpx;
    top: 50%;
    margin-top: -30rpx;
  }
  .status {
    display: inline-block;
    border-radius: 4rpx;
    font-size: 24rpx;
    padding: 0 8rpx;
    margin-right: 10rpx;
    color: $main-color;
    border: 1px solid $main-color;
  }
}
.search {
  width: auto;
  height: 60px;
  background-color: #ffffff;
}
.choose-search-wrap {
  display: flex;
  align-items: center;
  background-color: #fff;
  width: 100%;
  ::deep.uni-searchbar {
    padding-left: 40rpx !important;
    padding-right: 40rpx !important;
  }
  .uni-search-bar,
  .uni-searchbar {
    margin: 0;
    flex: 1;
  }
}
.no-more {
  margin: 40rpx 0;
  text-align: center;
  color: #999;
  font-size: 24rpx;
}
.empty {
  margin: 40rpx auto;
  text-align: center;
  color: #999;
  font-size: 28rpx;
}
.load-more-wrap {
  .empty-img {
    width: 480rpx;
    height: 500rpx;
    background-image: url(~@/static/img/img_public_default3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }
}
.flex-box {
  display: flex;
  align-items: center;
  .fill-line {
    flex: 1;
  }
}
.load-more-wrap {
  padding-bottom: 160rpx;
  &.pt0 {
    padding-top: 0;
  }
}
.del-text {
  flex: 1;
}
.del-wrap {
  display: flex;
  align-items: center;
  margin: 20rpx 20rpx 0;
  ::deep.uni-button {
    margin-left: 20rpx;
  }
}
.crt-title {
  font-size: 24rpx;
  color: #999;
  padding: 14rpx 28rpx 8rpx;
}
.tag {
  display: inline-block;
  height: 40rpx;
  line-height: 40rpx;
  border-radius: 0px 12rpx 0px 12rpx;
  font-size: 24rpx;
  padding: 0 12rpx;
  box-sizing: border-box;
  &.green {
    background-color: #d7f5e4;
    color: #18be5e;
  }
  &.red {
    background-color: #ffe0e0;
    color: #f24e2e;
  }
  &.yellow {
    background-color: #faf798;
    color: #cfa100;
  }
  &.blue {
    background-color: #dbf4ff;
    color: #1376a2;
  }
  &.purple {
    background-color: #f4ebff;
    color: #6036da;
  }
  &.cyan {
    background-color: #d6fffa;
    color: #00b4b4;
  }
  &.white {
    background-color: #fff;
    color: $main-color;
    border: 2rpx solid $main-color;
  }
  &.gray {
    background-color: #fff;
    color: #999;
    border: 2rpx solid #999;
  }
}
.deco {
  position: absolute;
  right: 0;
  bottom: 28rpx;
  color: #fff;
  font-size: 30rpx;
  width: 150rpx;
  height: 60rpx;
  line-height: 60rpx;
  text-align: center;
  background: $main-color;
  border-radius: 6rpx 0 0 6rpx;
}
.headline {
  display: flex;
  align-items: center;
  padding: 0 $beside-gap;
  font-size: 36rpx;
  margin-top: 44rpx;
  font-weight: bold;
  .right {
    flex: 1;
    color: $main-color;
    font-size: 30rpx;
    text-align: right;
    font-weight: normal;
  }
}
.wait-receive-wrap {
  .title {
    .title-text {
      padding-left: 20rpx !important;
    }
    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 28rpx;
      top: 50%;
      margin-top: -15rpx;
      width: 6rpx;
      height: 30rpx;
      background: $main-color;
    }
  }
}
.list-wrap {
  margin: 28rpx 40rpx;
  .list-item {
    position: relative;
    background-color: #fff;
    box-shadow: 0 8rpx 17rpx 0 rgba(66, 119, 217, 0.12);
    border-radius: 6rpx;
    margin-bottom: 28rpx;
    .title {
      display: flex;
      align-items: center;
      position: relative;
      padding: 28rpx;
      @include line-1px(bottom, #e6e6e6);
      .right {
        position: absolute;
        right: 28rpx;
        top: 28rpx;
      }
      .tag {
        margin-left: 8rpx;
      }
    }
    .title-text {
      font-size: 35rpx;
      padding-left: 8rpx;
      max-width: 500rpx;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .sel-cbx-icon {
      display: none;
    }
    &.select {
      .sel-cbx-icon {
        display: inline-block;
      }
    }
  }
  &.stock-list-wrap .sel-cbx-icon {
    display: inline-block;
  }
  .note-wrap {
    padding: 28rpx;
    font-size: 30rpx;
    .note {
      position: relative;
      margin-bottom: 28rpx;
      padding-left: 160rpx;
      min-height: 46rpx;
      text:first-child {
        position: absolute;
        left: 0;
        top: 0;
        display: inline-block;
        color: #999;
        min-width: 140rpx;
      }
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
  .slot-title {
    font-size: 28rpx;
  }
  &.goods-list-wrap {
    .list-item {
      margin-bottom: 0;
    }
  }
  .btn-wrap {
    border-top: 2rpx solid #e6e6e6;
    padding: 0;
    .i-btn-normal {
      border-width: 0;
    }
  }
}
.err-tips {
  font-size: 24rpx;
  color: red;
}
.sale-wrap {
  padding: 10rpx 28rpx;
  border-top: 2rpx dashed #e4e4e4;
  .label {
    width: 120rpx;
    font-size: 24rpx;
  }
}

.fix-top {
  ::deep.uni-navbar__header-container {
    padding: 0;
    display: block;
  }
}
.goods-title {
  position: relative;
  padding: 28rpx 140rpx 28rpx 22rpx;
  font-size: 30rpx;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -16rpx;
    left: 0;
    width: 6rpx;
    height: 32rpx;
    background: #4277d9;
  }
  .title-text {
    display: inline-block;
  }
  .right {
    position: absolute;
    right: 0;
    top: 28rpx;
  }
  .tag,
  .text-item {
    margin-left: 8rpx;
  }
}
.goods-wrap {
  .good-del-wrap {
    margin-left: -28rpx;
    margin-right: -28rpx;
  }
}
.good-del-wrap {
  display: flex;
  text-align: center;
  border-top: 2rpx solid #e6e6e6;
  margin-top: 20rpx;
  .del-btn {
    flex: 1;
    padding: 20rpx 0;
    text-align: center;
  }
  .copy-btn {
    flex: 1;
    padding: 20rpx 0;
    text-align: center;
    color: $main-color;
    border-right: 2rpx solid #e6e6e6;
  }
}
.del-btn {
  font-size: 24rpx;
  color: #f5222d;
}
.text-item {
  display: inline-block;
  color: #f24e2e;
  line-height: 32rpx;
  height: 32rpx;
  background: #ffe0e0;
  font-size: 24rpx;
  border-radius: 0 10rpx 0 10rpx;
  padding: 0 8rpx;
}
.goods-wrap {
  .block {
    margin: 0;
    padding: 0 28rpx;
    margin-bottom: $beside-gap;
  }
  .upload-item-wrap,
  .crt-title {
    padding: 0 !important;
  }
}
.crt-form-title {
  font-size: 26rpx;
  margin-top: 20rpx;
  color: #666;
  .choose-text {
    float: right;
    font-size: 26rpx;
    color: #888;
  }
}
.require-flag {
  color: #dd524d !important;
  font-weight: bold;
}
.car-wrap {
  margin: 0 $beside-gap $beside-gap;
}
.car-list {
  background: #ffffff;
  box-shadow: 0 0 36rpx 0 rgba(66, 119, 217, 0.12);
  border-radius: 12rpx;
  margin-bottom: 28rpx;
  .car-title {
    position: relative;
    padding: 28rpx 28rpx 28rpx 50rpx;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 28rpx;
    font-size: 35rpx;
    &::before {
      content: "";
      display: block;
      position: absolute;
      left: 28rpx;
      top: 50%;
      margin-top: -15rpx;
      width: 6rpx;
      height: 30rpx;
      background: $main-color;
      font-size: 30rpx;
    }
    .del-btn {
      font-size: 14px;
      float: right;
    }
  }
  .info {
    padding: 0 28rpx 28rpx;
    font-size: 30rpx;
    text {
      padding-right: 20rpx;
      color: #999;
    }
  }
}
.fill-line-input {
  flex: 1;
}
.choose-wrap {
  display: flex;
  align-items: center;
  padding: 20rpx 28rpx 0;
  .choose-text {
    flex: 1;
    font-size: 28rpx;
    color: #333;
    text {
      color: #999;
      padding-right: 20rpx;
    }
  }
  .choose-btn-wrap {
  }
}
button::after {
  border: none;
}

.i-btn {
  height: 88rpx;
  line-height: 88rpx;
  background: $main-color;
  border-radius: 8rpx;
  color: #fff;
  font-size: 30rpx;
  text-align: center;
  padding: 0 40rpx;
  box-sizing: border-box;
  &.i-btn-warn {
    background: $red-color;
  }
  &.i-btn-normal {
    color: $main-color;
    border: 2rpx solid $main-color;
    background-color: #fff;
  }
  &.disabled {
    background-color: #ccc;
    border: 2rpx solid #ccc;
    color: #fff;
  }
  &.more {
    background-color: #fff;
    border: 2rpx solid #e5e5e5;
    color: #999999;
  }
}
.white-bg {
  background-color: #fff;
  padding-top: 1px;
}
.i-list {
  ::deep.uni-list-item__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  ::deep.uni-icon-wrapper {
    padding: 0 !important;
  }
}
.me-icon {
  width: 66rpx;
  height: 60rpx;
}
.me-list-wrap {
  box-shadow: 0 0 17rpx 0 rgba(66, 119, 217, 0.12);
  border-radius: 6rpx;
  overflow: hidden;
  margin: 34rpx $beside-gap;
}
.me-list {
  position: relative;
  display: flex;
  align-items: center;
  padding: 36rpx 28rpx;
  background-color: #fff;
  &:last-child {
    &::before {
      background-color: transparent;
    }
  }
  &::before {
    content: "";
    display: block;
    position: absolute;
    left: 28rpx;
    right: 28rpx;
    height: 2rpx;
    background-color: #e6e6e6;
    bottom: 0;
  }
  .con {
    flex: 1;
    padding-left: 28rpx;
    .title {
      font-size: 32rpx;
    }
    .note {
      font-size: 24rpx;
      color: #999;
      text {
        color: $main-color;
        padding-left: 10rpx;
      }
    }
  }
}
.head-line {
  height: 70rpx;
  line-height: 70rpx;
  font-size: 34rpx;
  text-align: center;
  color: #fff;
}
.market-block {
  margin: 0 30rpx 40rpx;
  background: #ffffff;
  border-radius: 8rpx;
  padding: 32rpx;
  color: #303133;
  font-size: 28rpx;
  .note {
    display: flex;
    align-items: center;
    padding: 20rpx 0;
    border-bottom: 2rpx solid #e5e5e5;
    &:last-child {
      border-bottom-width: 0;
    }
    text:first-child {
      color: #909399;
      display: block;
      width: 240rpx;
    }
  }
}
.market-cell-title {
  font-size: 36rpx;
  margin-bottom: 20rpx;
  margin-top: 40rpx;
  font-weight: bold;
  padding: 0 30rpx;
}
